<template>
  <el-form ref="test" :model="value" label-width="80px">
    <el-form-item v-if="value.id !==null&&value.status===0" label="校验人">
      <el-select v-model="value.checkPeople" filterable placeholder="请选择校验人">
        <el-option v-for="item in teacher" :key="item.id" :label="item.name" :value="item.id"/>
      </el-select>
    </el-form-item>
    <el-form-item v-if="value.id !==null&&value.status===3" label="审核人">
      <el-select v-model="value.reviewPeople" filterable placeholder="请选择审核人">
        <el-option v-for="item in teacher" :key="item.id" :label="item.name" :value="item.id"/>
      </el-select>
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  props: {
    value: {
      type: Object,
      default: {}
    },
    teacher: {
      type: Array,
      default: []
    }
  },
  created() {}
}
</script>
<style scoped>
</style>
